From 7fd307f8815477e85fbe1c689c21d75b3db45ea5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 17 Jul 2015 20:18:34 -0400 Subject: [PATCH] Revert "GtkGrid: Add a few NULL checks" This reverts commit e215db6da21fc7c54f49b247afabc06a18d60513. We are actually requiring non-NULL out arguments here now. --- gtk/gtkgrid.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c index b12af752f5..1b821b22d0 100644 --- a/gtk/gtkgrid.c +++ b/gtk/gtkgrid.c @@ -1127,11 +1127,8 @@ gtk_grid_request_sum (GtkGridRequest *request, nat -= linedata->spacing; } - if (minimum) - *minimum = min; - - if (natural) - *natural = nat; + *minimum = min; + *natural = nat; } /* Computes minimum and natural fields of lines. -- 2.30.2